package com.qinghong.gulimall.order.exception;

public class NoStockException extends RuntimeException{

    private Long skuId;

    public NoStockException(Long skuId){
        super("商品ID:"+skuId+"没有足够库存");
    }

    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
}
